package com.demiroot.server.pages;

import com.demiroot.server.HTTPResponse;
import com.demiroot.server.HTTPResquest;
import com.demiroot.server.pages.AuthenticatedPage;
import com.demiroot.server.pages.JavaPageResponse;

public class Home extends AuthenticatedPage {

	@Override
	public HTTPResponse getPageAuthed(HTTPResquest request) {
		return new JavaPageResponse("<html><title>Logged On</title>Logged on</html>");
	}

	@Override
	public int getPageLevel() {
		return 100;
	}

	public static boolean isThisYou(String file) {
		return file.equalsIgnoreCase("home");
	}

}
